namespace Admin2025.Domain.Common;

// 定义分页结果类
public class PagedResult<T>
{
  public List<T> Items { get; set; } = new();
  public int TotalCount { get; set; }
  public int PageNumber { get; set; }
  public int PageSize { get; set; }
  public int TotalPages => (int)Math.Ceiling((double)TotalCount / PageSize);
}